Script: --on mouseUp wdID,wdName,objNo,objName,objValue┬get wsGet(wdID,"name","text")┬put it into namer┬if (namer=empty) then┬ beep┬ alertNote("You forgot to enter a name for the Report.")┬else┬ if checkQuality(namer,25)="fail" then┬ alertNote("Incorrect entry╤either too long or contains improper characters.")┬ wsSet wdID,"name","Text",""┬ else┬ put fld "ReportList" of cd 1 into reportList┬ if (item 1 of checkifThere(namer,"reportList"))="found" then┬ beep┬ alertNote("The report name ╥"&namer&"╙ is already used."&return&return&"Please enter another.")┬ wsSet wdID,"name","Text",""┬ else┬ wsSend "New Report",0,"close"┬ end if┬ end if┬end if┬--end mouseUp┬